package com.qujia.station.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用于会员列表导出
 * */
@Data
public class SysAppUserInfoExport {

    /** 会员id */
    @Excel(name = "会员id")
    private Long userId;

    /** 会员编码 */
    @Excel(name = "会员编码")
    private String memberCode;


    /**公众号的openid ; 会员推送id */
    @Excel(name = "会员推送id")
    private String blogOpenid;

    /** 油企名称*/
    @Excel(name = "油企名称")
    private String enterpriseName;

    /** 来源0微信1支付宝2其他 */
    @Excel(name = "来源")
    private String userSource;


    /** 姓名*/
    @Excel(name = "姓名")
    private String name;

    /** 性别0男1女2未知 */
    @Excel(name = "性别")
    private String sexFlag;



    /** 生日*/
    @Excel(name = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String birthday;

    /** 昵称*/
    @Excel(name = "昵称")
    private String blogNickName;

    /**手机号*/
    @Excel(name = "手机号")
    private String mobilePhone;

    /**车牌号码*/
    @Excel(name = "车牌号码")
    private String truckNumber;
    /**IC卡号*/
    @Excel(name = "IC卡号")
    private String ICCard;

    /** 余额*/
    @Excel(name = "电子卡总余额（元）")
    private BigDecimal balance;

    /** 积分*/
    @Excel(name = "积分余额")
    private Long integral;

    /** 注册时间*/
    @Excel(name = "注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String registeDate;

    /** 更新时间*/
    @Excel(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String updateDate;

    /** 第一次消费油站*/
    @Excel(name = "首次消费的油站")
    private String firstStationName;

    /** 油品id*/
    @Excel(name = "常用油品id")
    private Long oilId;


}
